package com.gejingyu.service.impl;

import com.gejingyu.annotation.Bean;
import com.gejingyu.annotation.Di;
import com.gejingyu.dao.UserDao;
import com.gejingyu.service.UserService;

@Bean
public class UserServiceImpl implements UserService {

    @Di
    private UserDao userDao;

    @Override
    public void service() {
        System.out.println("service层实现方法......");
        userDao.dao();
    }
}
